package com.toune.movie.mvp.presenter;


import com.toune.movie.base.BasePresenterImpl;
import com.toune.movie.mvp.activity.VarietyVideoActivity;
import com.toune.movie.mvp.contract.VarietyContract;
import com.toune.movie.mvp.model.VarietyModel;
import com.toune.movie.vo.VarietyVo;

import java.util.List;

/**
 * Created by Administrator on 2018/5/10.
 */

public class VarietyPresenter extends BasePresenterImpl<VarietyVideoActivity> implements VarietyContract.Presenter {
    private VarietyModel varietyModel = new VarietyModel(this);

    @Override
    public void setVideoList(List<VarietyVo> voList) {
        mView.setVideoList(voList);
    }

    @Override
    public void setHeaderVos(List<VarietyVo> varietyVos) {
        mView.setHeaderVos(varietyVos);
    }

    @Override
    public void getVideoList(String url) {
        varietyModel.getVideoList(url);
    }
}
